package ooday01.hoemwork;

public class CarTest {
    public static void main(String[] args) {
        Car bm=new Car();
        bm.brand="宝马";
        bm.color="白色";
        bm.price=400000;
        bm.capacity=8;

        bm.start();
        bm.stop();
        bm.stop();


        Car ad=new Car();
        ad.brand="奥迪";
        ad.color="银";
        ad.price=500000;
        ad.capacity=6;
        ad.start();
        ad.run();
        ad.stop();

        Car bc=new Car();
        bc.start();
        bc.run();
        bc.stop();


    }
}
